﻿using EternalRoad.Client.Level.Cells;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace EternalRoad.Client.Level
{
    public sealed class Map
    {
        public object[,] Cells { get; set; }
        public Map()
        {

        }

        public static Map BaseGenerator(int width, int height)
        {
            Map map = new Map();
            object[,] cells = new object[width, height];

            for (int y = 0; y < height; y++)
            {
                for (int x = 0; x < width; x++)
                {
                    cells[x, y] = new GrassCell();
                }
            }

            map.Cells = cells;

            return map;
        }
    }
}
